<?php

use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;

class CreateClientsTable extends Migration {

	/**
	 * Run the migrations.
	 *
	 * @return void
	 */
	public function up()
	{
		//
		Schema::create('clients', function($table)
		{
		    $table->increments('id');
		    $table->string('姓名',20);
			$table->string('性别',20);
			$table->string('地址',20);
			$table->string('电话',20);
			$table->integer('年龄')->unsigned();
		    $table->softDeletes();
			$table->timestamps();
		});
	}

	/**
	 * Reverse the migrations.
	 *
	 * @return void
	 */
	public function down()
	{
		//
		Schema::drop('clients');
	}

}
